package com.gec.yhzh.service;

import com.gec.yhzh.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.yhzh.entity.UserDTO;

/**
 * <p>
 * 患者用户 服务类
 * </p>
 *
 * @author jerry
 * @since 2025-03-10
 */
public interface IUserService extends IService<User> {

    User getUserById(Integer id);

    User Login(String phone, String password);

    boolean register(UserDTO userDTO);

    boolean findByName(String name);
}
